Skip to content

[css-values-5] Behavior of ident() in at-rule preludes #12219

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
andruud opened this issue May 21, 2025 · 5 comments
Open

[css-values-5] Behavior of ident() in at-rule preludes #12219

andruud opened this issue May 21, 2025 · 5 comments

Comments

@andruud
Copy link
Member

andruud commented May 21, 2025

The spec says:

The ident() function can be used as a value for any property or function argument that accepts a <custom-ident>.

Does this mean that it's not valid in other contexts? For example: @position-try ident("--p" 1) {}. If it is valid, what happens with e.g. @position-try ident("--p" sign(16px - 1em)) {}? Or @position-try ident("--p" sibling-index()) {}?

@container ident("--p" sign(16px - 1em)) {}, if valid, would need to resolve em (etc) against something that's not the container's font-size (unlike em in the query itself), since the ident is the thing that determines what to query.

@andruud andruud changed the title [css-values-5] Behavior of ident() in at-rules preludes [css-values-5] Behavior of ident() in at-rule preludes May 21, 2025
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this issue May 21, 2025
This CL adds support for ident() in the container and container-name
properties.

Since the behavior within at-rule preludes is not specified [1],
this CL just includes a basic crash test for "@container ident(...)"
as a provisional safeguard.

[1] w3c/csswg-drafts#12219

Bug: 384930424
Change-Id: I200e8f1c516ebe69e48f97048014c3f65beac349
@fantasai
Copy link
Collaborator

Seems reasonable to make this valid anywhere that accepts

aarongable pushed a commit to chromium/chromium that referenced this issue May 22, 2025
This CL adds support for ident() in the container and container-name
properties.

Since the behavior within at-rule preludes is not specified [1],
this CL just includes a basic crash test for "@container ident(...)"
as a provisional safeguard.

[1] w3c/csswg-drafts#12219

Bug: 384930424
Change-Id: I200e8f1c516ebe69e48f97048014c3f65beac349
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6574640
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1463950}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this issue May 22, 2025
This CL adds support for ident() in the container and container-name
properties.

Since the behavior within at-rule preludes is not specified [1],
this CL just includes a basic crash test for "@container ident(...)"
as a provisional safeguard.

[1] w3c/csswg-drafts#12219

Bug: 384930424
Change-Id: I200e8f1c516ebe69e48f97048014c3f65beac349
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6574640
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1463950}
@andruud
Copy link
Member Author

andruud commented May 22, 2025

In media queries, there is no element context, but we still allow em units that resolve against the initial font-size. In general, anything you could put into an ident() (relative units, sign(), sibling-index(), etc), you could also put into a media query, and it must have (or should have) some behavior already.

So how about (proposed resoluition): ident()is allowed anywhere <custom-ident> is accepted. When used outside of an element context, the numeric parts behave as they would in a media query.

chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this issue May 22, 2025
This CL adds support for ident() in the container and container-name
properties.

Since the behavior within at-rule preludes is not specified [1],
this CL just includes a basic crash test for "@container ident(...)"
as a provisional safeguard.

[1] w3c/csswg-drafts#12219

Bug: 384930424
Change-Id: I200e8f1c516ebe69e48f97048014c3f65beac349
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6574640
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1463950}
aarongable pushed a commit to chromium/chromium that referenced this issue May 22, 2025
Since the behavior within at-rule preludes is not specified [1],
this CL just includes a basic crash test for "@position-try ident(...)"
as a provisional safeguard.

[1] w3c/csswg-drafts#12219

Bug: 384930424
Change-Id: If0b7adf6ce68f32d22529f76bc29ab88c72a9aed
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6573937
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1463976}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this issue May 22, 2025
Since the behavior within at-rule preludes is not specified [1],
this CL just includes a basic crash test for "@position-try ident(...)"
as a provisional safeguard.

[1] w3c/csswg-drafts#12219

Bug: 384930424
Change-Id: If0b7adf6ce68f32d22529f76bc29ab88c72a9aed
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6573937
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1463976}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this issue May 22, 2025
Since the behavior within at-rule preludes is not specified [1],
this CL just includes a basic crash test for "@position-try ident(...)"
as a provisional safeguard.

[1] w3c/csswg-drafts#12219

Bug: 384930424
Change-Id: If0b7adf6ce68f32d22529f76bc29ab88c72a9aed
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6573937
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1463976}
@andruud
Copy link
Member Author

andruud commented May 22, 2025

Ah, no. It's too much pain for zero (?) benefit. We would then need to parse ~all rules (also style rules, since some selectors can hold custom idents) into some not-fully-resolved form that needs to be (re)computed into a final rule when media values change. I don't see that actually happening.

Then I think we should just make ident() invalid without an element context. (Which may be what the spec is saying already.)

aarongable pushed a commit to chromium/chromium that referenced this issue May 22, 2025
Additionally, add a basic crash test for @Property while we wait
for Issue 12219 to resolve.

w3c/csswg-drafts#12219

Bug: 384930424
Change-Id: I36c215cac8558dbc964fda366e2ddba3c7b2017a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6578154
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1464032}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this issue May 22, 2025
Additionally, add a basic crash test for @Property while we wait
for Issue 12219 to resolve.

w3c/csswg-drafts#12219

Bug: 384930424
Change-Id: I36c215cac8558dbc964fda366e2ddba3c7b2017a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6578154
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1464032}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this issue May 22, 2025
Additionally, add a basic crash test for @Property while we wait
for Issue 12219 to resolve.

w3c/csswg-drafts#12219

Bug: 384930424
Change-Id: I36c215cac8558dbc964fda366e2ddba3c7b2017a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6578154
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1464032}
@bramus
Copy link
Contributor

bramus commented May 22, 2025

The problem is not with ident() but with things like sibling-index() outside of element context, no? If they cannot produce a value, then I would assume everything that relies on it – e.g. the ident() in @position-try ident("--p" sibling-index()) – to also fail.

@tabatkins
Copy link
Member

There's several examples beyond sibling-index() - anything that relies on an element to calculate something, like the example ident("--p" sign(16px - 1em)) given in the initial post, which relies on an element context to determine the size of an em, so it knows to produce --p0, --p1, or --p-1.

lando-prod-mozilla bot pushed a commit to mozilla-firefox/firefox that referenced this issue May 23, 2025
…tainer-name,

Automatic update from web-platform-tests
[ident] Support ident() in container/container-name

This CL adds support for ident() in the container and container-name
properties.

Since the behavior within at-rule preludes is not specified [1],
this CL just includes a basic crash test for "@container ident(...)"
as a provisional safeguard.

[1] w3c/csswg-drafts#12219

Bug: 384930424
Change-Id: I200e8f1c516ebe69e48f97048014c3f65beac349
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6574640
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1463950}

--

wpt-commits: 742db34711329e93cc54d6b8b1a3b7eedbe41e65
wpt-pr: 52700

Differential Revision: https://phabricator.services.mozilla.com/D250989
lando-prod-mozilla bot pushed a commit to mozilla-firefox/firefox that referenced this issue May 23, 2025
…osition-try,

Automatic update from web-platform-tests
[ident] Test ident() for @position-try/position-try

Since the behavior within at-rule preludes is not specified [1],
this CL just includes a basic crash test for "@position-try ident(...)"
as a provisional safeguard.

[1] w3c/csswg-drafts#12219

Bug: 384930424
Change-Id: If0b7adf6ce68f32d22529f76bc29ab88c72a9aed
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6573937
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1463976}

--

wpt-commits: ef521b4f5b6ade5f8315cfdee1f5d289d8a7b4ee
wpt-pr: 52719

Differential Revision: https://phabricator.services.mozilla.com/D250991
lando-prod-mozilla bot pushed a commit to mozilla-firefox/firefox that referenced this issue May 23, 2025
…stom properties,

Automatic update from web-platform-tests
[ident] Resolve ident() in registered custom properties

Additionally, add a basic crash test for @Property while we wait
for Issue 12219 to resolve.

w3c/csswg-drafts#12219

Bug: 384930424
Change-Id: I36c215cac8558dbc964fda366e2ddba3c7b2017a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6578154
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1464032}

--

wpt-commits: 85eadd1d77986f1687cf2310c3201ee5f37c1f3a
wpt-pr: 52725

Differential Revision: https://phabricator.services.mozilla.com/D251001
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this issue May 24, 2025
…tainer-name,

Automatic update from web-platform-tests
[ident] Support ident() in container/container-name

This CL adds support for ident() in the container and container-name
properties.

Since the behavior within at-rule preludes is not specified [1],
this CL just includes a basic crash test for "@container ident(...)"
as a provisional safeguard.

[1] w3c/csswg-drafts#12219

Bug: 384930424
Change-Id: I200e8f1c516ebe69e48f97048014c3f65beac349
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6574640
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1463950}

--

wpt-commits: 742db34711329e93cc54d6b8b1a3b7eedbe41e65
wpt-pr: 52700

Differential Revision: https://phabricator.services.mozilla.com/D250989
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this issue May 24, 2025
…osition-try,

Automatic update from web-platform-tests
[ident] Test ident() for @position-try/position-try

Since the behavior within at-rule preludes is not specified [1],
this CL just includes a basic crash test for "@position-try ident(...)"
as a provisional safeguard.

[1] w3c/csswg-drafts#12219

Bug: 384930424
Change-Id: If0b7adf6ce68f32d22529f76bc29ab88c72a9aed
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6573937
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1463976}

--

wpt-commits: ef521b4f5b6ade5f8315cfdee1f5d289d8a7b4ee
wpt-pr: 52719

Differential Revision: https://phabricator.services.mozilla.com/D250991
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this issue May 24, 2025
…stom properties,

Automatic update from web-platform-tests
[ident] Resolve ident() in registered custom properties

Additionally, add a basic crash test for @Property while we wait
for Issue 12219 to resolve.

w3c/csswg-drafts#12219

Bug: 384930424
Change-Id: I36c215cac8558dbc964fda366e2ddba3c7b2017a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6578154
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1464032}

--

wpt-commits: 85eadd1d77986f1687cf2310c3201ee5f37c1f3a
wpt-pr: 52725

Differential Revision: https://phabricator.services.mozilla.com/D251001
i3roly pushed a commit to i3roly/firefox-dynasty that referenced this issue May 26, 2025
…tainer-name,

Automatic update from web-platform-tests
[ident] Support ident() in container/container-name

This CL adds support for ident() in the container and container-name
properties.

Since the behavior within at-rule preludes is not specified [1],
this CL just includes a basic crash test for "@container ident(...)"
as a provisional safeguard.

[1] w3c/csswg-drafts#12219

Bug: 384930424
Change-Id: I200e8f1c516ebe69e48f97048014c3f65beac349
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6574640
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1463950}

--

wpt-commits: 742db34711329e93cc54d6b8b1a3b7eedbe41e65
wpt-pr: 52700

Differential Revision: https://phabricator.services.mozilla.com/D250989
i3roly pushed a commit to i3roly/firefox-dynasty that referenced this issue May 26, 2025
…osition-try,

Automatic update from web-platform-tests
[ident] Test ident() for @position-try/position-try

Since the behavior within at-rule preludes is not specified [1],
this CL just includes a basic crash test for "@position-try ident(...)"
as a provisional safeguard.

[1] w3c/csswg-drafts#12219

Bug: 384930424
Change-Id: If0b7adf6ce68f32d22529f76bc29ab88c72a9aed
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6573937
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1463976}

--

wpt-commits: ef521b4f5b6ade5f8315cfdee1f5d289d8a7b4ee
wpt-pr: 52719

Differential Revision: https://phabricator.services.mozilla.com/D250991
i3roly pushed a commit to i3roly/firefox-dynasty that referenced this issue May 26, 2025
…stom properties,

Automatic update from web-platform-tests
[ident] Resolve ident() in registered custom properties

Additionally, add a basic crash test for @Property while we wait
for Issue 12219 to resolve.

w3c/csswg-drafts#12219

Bug: 384930424
Change-Id: I36c215cac8558dbc964fda366e2ddba3c7b2017a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6578154
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1464032}

--

wpt-commits: 85eadd1d77986f1687cf2310c3201ee5f37c1f3a
wpt-pr: 52725

Differential Revision: https://phabricator.services.mozilla.com/D251001
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this issue May 28, 2025
…tainer-name,

Automatic update from web-platform-tests
[ident] Support ident() in container/container-name

This CL adds support for ident() in the container and container-name
properties.

Since the behavior within at-rule preludes is not specified [1],
this CL just includes a basic crash test for "container ident(...)"
as a provisional safeguard.

[1] w3c/csswg-drafts#12219

Bug: 384930424
Change-Id: I200e8f1c516ebe69e48f97048014c3f65beac349
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6574640
Reviewed-by: Rune Lillesveen <futharkchromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruudchromium.org>
Cr-Commit-Position: refs/heads/main{#1463950}

--

wpt-commits: 742db34711329e93cc54d6b8b1a3b7eedbe41e65
wpt-pr: 52700

Differential Revision: https://phabricator.services.mozilla.com/D250989

UltraBlame original commit: 6b90a76d04967bec1a2f03eec0c48c3d6106adf5
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this issue May 28, 2025
…sition-try,

Automatic update from web-platform-tests
[ident] Test ident() for position-try/position-try

Since the behavior within at-rule preludes is not specified [1],
this CL just includes a basic crash test for "position-try ident(...)"
as a provisional safeguard.

[1] w3c/csswg-drafts#12219

Bug: 384930424
Change-Id: If0b7adf6ce68f32d22529f76bc29ab88c72a9aed
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6573937
Reviewed-by: Rune Lillesveen <futharkchromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruudchromium.org>
Cr-Commit-Position: refs/heads/main{#1463976}

--

wpt-commits: ef521b4f5b6ade5f8315cfdee1f5d289d8a7b4ee
wpt-pr: 52719

Differential Revision: https://phabricator.services.mozilla.com/D250991

UltraBlame original commit: 74dc93c234c75d25adec5b15d0ebfe567a64a164
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this issue May 28, 2025
…stom properties,

Automatic update from web-platform-tests
[ident] Resolve ident() in registered custom properties

Additionally, add a basic crash test for property while we wait
for Issue 12219 to resolve.

w3c/csswg-drafts#12219

Bug: 384930424
Change-Id: I36c215cac8558dbc964fda366e2ddba3c7b2017a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6578154
Commit-Queue: Anders Hartvoll Ruud <andruudchromium.org>
Reviewed-by: Rune Lillesveen <futharkchromium.org>
Cr-Commit-Position: refs/heads/main{#1464032}

--

wpt-commits: 85eadd1d77986f1687cf2310c3201ee5f37c1f3a
wpt-pr: 52725

Differential Revision: https://phabricator.services.mozilla.com/D251001

UltraBlame original commit: 0d6a6d8af802e9848e14238cab4e67e880ea47bc
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this issue May 28, 2025
…tainer-name,

Automatic update from web-platform-tests
[ident] Support ident() in container/container-name

This CL adds support for ident() in the container and container-name
properties.

Since the behavior within at-rule preludes is not specified [1],
this CL just includes a basic crash test for "container ident(...)"
as a provisional safeguard.

[1] w3c/csswg-drafts#12219

Bug: 384930424
Change-Id: I200e8f1c516ebe69e48f97048014c3f65beac349
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6574640
Reviewed-by: Rune Lillesveen <futharkchromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruudchromium.org>
Cr-Commit-Position: refs/heads/main{#1463950}

--

wpt-commits: 742db34711329e93cc54d6b8b1a3b7eedbe41e65
wpt-pr: 52700

Differential Revision: https://phabricator.services.mozilla.com/D250989

UltraBlame original commit: 6b90a76d04967bec1a2f03eec0c48c3d6106adf5
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this issue May 28, 2025
…sition-try,

Automatic update from web-platform-tests
[ident] Test ident() for position-try/position-try

Since the behavior within at-rule preludes is not specified [1],
this CL just includes a basic crash test for "position-try ident(...)"
as a provisional safeguard.

[1] w3c/csswg-drafts#12219

Bug: 384930424
Change-Id: If0b7adf6ce68f32d22529f76bc29ab88c72a9aed
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6573937
Reviewed-by: Rune Lillesveen <futharkchromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruudchromium.org>
Cr-Commit-Position: refs/heads/main{#1463976}

--

wpt-commits: ef521b4f5b6ade5f8315cfdee1f5d289d8a7b4ee
wpt-pr: 52719

Differential Revision: https://phabricator.services.mozilla.com/D250991

UltraBlame original commit: 74dc93c234c75d25adec5b15d0ebfe567a64a164
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this issue May 28, 2025
…stom properties,

Automatic update from web-platform-tests
[ident] Resolve ident() in registered custom properties

Additionally, add a basic crash test for property while we wait
for Issue 12219 to resolve.

w3c/csswg-drafts#12219

Bug: 384930424
Change-Id: I36c215cac8558dbc964fda366e2ddba3c7b2017a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6578154
Commit-Queue: Anders Hartvoll Ruud <andruudchromium.org>
Reviewed-by: Rune Lillesveen <futharkchromium.org>
Cr-Commit-Position: refs/heads/main{#1464032}

--

wpt-commits: 85eadd1d77986f1687cf2310c3201ee5f37c1f3a
wpt-pr: 52725

Differential Revision: https://phabricator.services.mozilla.com/D251001

UltraBlame original commit: 0d6a6d8af802e9848e14238cab4e67e880ea47bc
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this issue May 28, 2025
…tainer-name,

Automatic update from web-platform-tests
[ident] Support ident() in container/container-name

This CL adds support for ident() in the container and container-name
properties.

Since the behavior within at-rule preludes is not specified [1],
this CL just includes a basic crash test for "container ident(...)"
as a provisional safeguard.

[1] w3c/csswg-drafts#12219

Bug: 384930424
Change-Id: I200e8f1c516ebe69e48f97048014c3f65beac349
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6574640
Reviewed-by: Rune Lillesveen <futharkchromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruudchromium.org>
Cr-Commit-Position: refs/heads/main{#1463950}

--

wpt-commits: 742db34711329e93cc54d6b8b1a3b7eedbe41e65
wpt-pr: 52700

Differential Revision: https://phabricator.services.mozilla.com/D250989

UltraBlame original commit: 6b90a76d04967bec1a2f03eec0c48c3d6106adf5
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this issue May 28, 2025
…sition-try,

Automatic update from web-platform-tests
[ident] Test ident() for position-try/position-try

Since the behavior within at-rule preludes is not specified [1],
this CL just includes a basic crash test for "position-try ident(...)"
as a provisional safeguard.

[1] w3c/csswg-drafts#12219

Bug: 384930424
Change-Id: If0b7adf6ce68f32d22529f76bc29ab88c72a9aed
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6573937
Reviewed-by: Rune Lillesveen <futharkchromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruudchromium.org>
Cr-Commit-Position: refs/heads/main{#1463976}

--

wpt-commits: ef521b4f5b6ade5f8315cfdee1f5d289d8a7b4ee
wpt-pr: 52719

Differential Revision: https://phabricator.services.mozilla.com/D250991

UltraBlame original commit: 74dc93c234c75d25adec5b15d0ebfe567a64a164
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this issue May 28, 2025
…stom properties,

Automatic update from web-platform-tests
[ident] Resolve ident() in registered custom properties

Additionally, add a basic crash test for property while we wait
for Issue 12219 to resolve.

w3c/csswg-drafts#12219

Bug: 384930424
Change-Id: I36c215cac8558dbc964fda366e2ddba3c7b2017a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6578154
Commit-Queue: Anders Hartvoll Ruud <andruudchromium.org>
Reviewed-by: Rune Lillesveen <futharkchromium.org>
Cr-Commit-Position: refs/heads/main{#1464032}

--

wpt-commits: 85eadd1d77986f1687cf2310c3201ee5f37c1f3a
wpt-pr: 52725

Differential Revision: https://phabricator.services.mozilla.com/D251001

UltraBlame original commit: 0d6a6d8af802e9848e14238cab4e67e880ea47bc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants